Document Solutions for PDF
DS.Documents.DX.Windows Assembly / GrapeCity.Documents.DX Namespace / DataStream Class / Write Method / Write(Byte[],Int32,Int32) Method
An array of bytes. This method copies count bytes from buffer to the current stream.
The zero-based byte offset in buffer at which to begin copying bytes to the current stream.
The number of bytes to be written to the current stream.

In This Topic
    Write(Byte[],Int32,Int32) Method
    In This Topic
    Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.
    Syntax
    'Declaration
     
    Public Overloads Overrides Sub Write( _
       ByVal buffer() As System.Byte, _
       ByVal offset As System.Integer, _
       ByVal count As System.Integer _
    ) 
    public override void Write( 
       System.byte[] buffer,
       System.int offset,
       System.int count
    )

    Parameters

    buffer
    An array of bytes. This method copies count bytes from buffer to the current stream.
    offset
    The zero-based byte offset in buffer at which to begin copying bytes to the current stream.
    count
    The number of bytes to be written to the current stream.
    Exceptions
    ExceptionDescription
    This stream does not support writing.
    Remarks
    In order to provide faster read/write, this operation doesn't check stream bound. A client must carefully not read/write above the size of this datastream.
    See Also